package com.hzlx.dao;

import com.hzlx.entity.TOrderInfo;

import java.util.List;

public interface TOrderInfoDao {
    int deleteByPrimaryKey(Integer id);

    int insert(TOrderInfo record);

    int insertSelective(TOrderInfo record);

    TOrderInfo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TOrderInfo record);

    int updateByPrimaryKey(TOrderInfo record);
    List<TOrderInfo> selectPendingOrderList(Integer businessId);

    int updateOrderStatus(String orderId);

    List<TOrderInfo> selectOrderListAll(Integer businessId);
}